<!DOCTYPE html>
    <html xmlns:th="http://www.w3.org/1999/xhtml" lang="zh-CN" >
        <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
            <title>博客后台</title>
            <link rel="shortcut icon" href="../../static/lib/img/k.ico" th:href="@{/lib/img/k.ico" type="image/x-icon}">
            <link rel="stylesheet" href="../../static/components/bootstrap/css/bootstrap.min.css" th:href="@{/components/bootstrap/css/bootstrap.min.css}">
            <link rel="stylesheet" href="../../static/components/bootstrap/css/bootstrap-datepicker3.min.css" th:href="@{/components/bootstrap/css/bootstrap-datepicker3.min.css}">
            <link rel="stylesheet" href="../../static/components/bootstrap/css/bootstrap-datetimepicker.min.css" th:href="@{/components/bootstrap/css/bootstrap-datetimepicker.min.css}">
            <link rel="stylesheet" href="../../static/components/font-awesome/css/font-awesome.min.css" th:href="@{/components/font-awesome/css/font-awesome.min.css}">
            <link rel="stylesheet" href="../../static/components/ionicons/css/ionicons.min.css" th:href="@{/components/ionicons/css/ionicons.min.css}">
            <link rel="stylesheet" href="../../static/components/switchery/switchery.min.css" th:href="@{/components/switchery/switchery.min.css}">
            <link rel="stylesheet" href="../../static/components/toastr/toastr.min.css" th:href="@{/components/toastr/toastr.min.css}">
            <link rel="stylesheet" href="../../static/adminlte/css/AdminLTE.min.css" th:href="@{/adminlte/css/AdminLTE.min.css}">
            <link rel="stylesheet" href="../../static/adminlte/css/skins/skin-blue.min.css" th:href="@{/adminlte/css/skins/skin-blue.min.css}">
            <link rel="stylesheet" href="../../static/admin/css/admin.css" th:href="@{/admin/css/admin.css">
            <!--[if lt IE 9]>
            <script src="../../static/components/html5shiv/html5shiv.min.js" th:href="@{/components/html5shiv/html5shiv.min.js}"></script>
            <script src="../../static/components/respond/respond.min.js" th:href="@{/components/respond/respond.min.js}"></script>
            <![endif]-->
        </head>
        <body class="hold-transition skin-blue sidebar-mini">
        <div class="wrapper">
            <!-- Admin_Header_Start -->
            <header class="main-header">
                <!-- Logo -->
                <a href="/" target="_blank" class="logo">
                    <span class="logo-mini"><b>NTU</b></span>
                    <span class="logo-lg"><b>yyl</b></span>
                </a>
                <nav class="navbar navbar-static-top">
                    <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                        <span class="sr-only">切换</span>
                    </a>
                    <div class="navbar-custom-menu">
                        <ul class="nav navbar-nav">
                            <li class="dropdown user user-menu">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <img src="/Jpress/static/commons/img/avatar.png" class="user-image">
                                    <span class="hidden-xs">您好 aaa , 欢迎回来</span>
                                </a>
                                <ul class="dropdown-menu">
                                    <li class="user-header">
                                        <img src="/Jpress/static/commons/img/avatar.png" class="img-circle">
                                        <p>
                                            aaa
                                            <small>2020-11-04 18:36</small>
                                        </p>
                                    </li>
                                    <li class="user-footer">
                                        <div class="pull-left">
                                            <a href="/Jpress/admin/user/me" class="btn btn-default btn-flat">我的资料</a>
                                        </div>
                                        <div class="pull-left" style="padding-left: 5px">
                                            <a href="/Jpress/ucenter/index" class="btn btn-default btn-flat" target="_blank">用户中心</a>
                                        </div>
                                        <div class="pull-right">
                                            <a href="/logout.do" class="btn btn-default btn-flat">退出</a>
                                        </div>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </nav>
            </header>
            <!-- Admin_Header_End -->

            <!-- Admin_Left_menu_Start -->
            <aside class="main-sidebar">
                <!-- 表明所处页面 -->
                <script type="text/javascript">
                    var jpress = {cpath:''}
                </script>
                <section class="sidebar" >
                    <!-- sidebar menu: : style can be found in sidebar.less -->
                    <ul class="sidebar-menu" data-widget="tree" id="sidebar-menu">
                        <li class="block"></li>
                        <li class="link">
                            <a href="<%= HomePath %>dashboard.html"><i class="fa fa-dashboard"></i> <span>面板</span></a>
                        </li>

                        <li class="block"></li>
                        <li class="treeview">
                        <a href="#"><i class="fa fa-fw fa-file-text"></i> <span>文章</span>
                            <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="<%= HomePath %>article" target="">文章管理</a></li>
                            <li><a href="<%= HomePath %>article/write.html" target="">写文章</a></li>
                            <li><a href="<%= HomePath %>article/category.html" target="">分类</a></li>
                            <li><a href="<%= HomePath %>article/tag.html" target="">标签</a></li>
                            <li><a href="<%= HomePath %>article/comment.html" target="">评论</a></li>
                            <li><a href="<%= HomePath %>article/setting.html" target="">设置</a></li>
                        </ul>
                        </li>
                        <li class="treeview">
                        <a href="#"><i class="fa fa-fw fa-file"></i> <span>页面</span>
                            <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="page" target="">页面管理</a></li>
                            <li><a href="page/write.html" target="">新建</a></li>
                            <li><a href="page/comment.html" target="">评论</a></li>
                            <li><a href="page/setting.html" target="">设置</a></li>
                        </ul>
                        </li>

                        <li class="treeview">
                        <a href="#"><i class="fa fa-fw fa-folder-open"></i> <span>附件</span>
                            <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="<%= HomePath %>attachment" target="">所有附件</a></li>
                            <li><a href="<%= HomePath %>attachment/upload.html" target="">上传</a></li>
                            <li><a href="<%= HomePath %>attachment/setting.html" target="">设置</a></li>
                            <li><a href="<%= HomePath %>attachment/root.html" target="">根目录</a></li>
                        </ul>
                        </li>
                        <li class="header">基础</li>

                        <li class="treeview">
                        <a href="#"><i class="fa fa-fw fa-user"></i> <span>用户</span>
                            <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="<%= HomePath %>user" target="">用户管理</a></li>
                            <li><a href="<%= HomePath %>user/tag.html" target="">用户标签</a></li>
                            <li><a href="<%= HomePath %>user/mgroup.html" target="">会员组</a></li>
                            <li><a href="<%= HomePath %>user/sendMsg.html" target="">发消息</a></li>
                            <li><a href="<%= HomePath %>user/me.html" target="">我的资料</a></li>
                        </ul>
                        </li>

                        <li class="treeview">
                        <a href="#"><i class="fa fa-magic"></i> <span>模板</span>
                            <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="<%= HomePath %>template/menu.html" target="">菜单</a></li>
                            <li><a href="<%= HomePath %>template/setting.html" target="">设置</a></li>
                            <li><a href="<%= HomePath %>template/edit.html" target="">编辑</a></li>
                        </ul>
                        </li>

                        <li class="treeview">
                        <a href="#"><i class="fa fa-cog"></i> <span>系统</span>
                            <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="<%= HomePath %>system" target="">常规</a></li>
                            <li><a href="<%= HomePath %>system/reg.html" target="">登录注册</a></li>
                        </ul>
                        </li>
                    </ul>
                </section>
            </aside>
            <!-- Admin_Left_menu_End -->

            <!--Form -->
            <div class="content-wrapper" >

                <section class="content-header">
                    <h1>
                        用户管理
                        <small>User Management</small>
                    </h1>
                </section>

                <section class="content-header text-tap">
                    <a href="/Jpress/admin/user">全部 (2)</a> |
                    <a href="?status=ok">正常 (1)</a> |
                    <a href="?status=registered" style="color: #a00">未激活 (0)</a> |
                    <a href="?status=locked" style="color: #a00">冻结 (1)</a>
                </section>

                <section class="content">

                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box box-primary">
                                <div class="box-header with-border">
                                    <form class="form-horizontal actionPanel" action="/Jpress/admin/user" method="get">
                                        <input type="hidden" name="status" value="">
                                        <div class="row">

                                            <div class="form-group col-lg-4">
                                                <label class="col-sm-3 control-label">用户</label>
                                                <div class="col-sm-9">
                                                    <input type="text" class="form-control" name="username" value="">
                                                </div>
                                            </div>


                                            <div class="form-group col-lg-4">
                                                <label class="col-sm-3 control-label">邮箱</label>
                                                <div class="col-sm-9">
                                                    <input type="text" class="form-control" name="email" value="">
                                                </div>
                                            </div>

                                            <div class="form-group col-lg-4">
                                                <label class="col-sm-3 control-label">手机号</label>
                                                <div class="col-sm-9">
                                                    <input type="text" class="form-control" name="mobile" value="">
                                                </div>
                                            </div>


                                            <div class="form-group col-lg-4">
                                                <label class="col-sm-3 control-label">会员组</label>
                                                <div class="col-sm-9">
                                                    <select class="form-control" name="group_id">
                                                        <option value="">请选择</option>
                                                    </select>
                                                </div>
                                            </div>

                                            <div class="form-group col-lg-4">
                                                <label class="col-sm-3 control-label">标签</label>
                                                <div class="col-sm-9">
                                                    <input type="text" class="form-control" name="tag" value="">
                                                </div>
                                            </div>


                                            <div class="form-group col-lg-4">
                                                <div class="col-sm-12">
                                                    <button type="submit" class="btn btn-primary ">查询</button>
                                                    <button type="reset" class="btn btn-default">重置</button>
                                                    <a class="btn"> 更多<i class="fa fa-fw fa-angle-down"></i> </a>
                                                </div>
                                            </div>

                                        </div>
                                        <!-- /.box-body -->
                                        <input type="hidden" name="csrf_token" value="e361a88da4644b3489ae746a3155a3d8"></form>

                                    <div class="row actionPanel">
                                        <div class="col-xs-12">
                                            <a href="/Jpress/admin/user/edit" class="btn btn-primary "> <i class="fa fa-fw fa-plus"></i> 新建</a>
                                            <button type="button" id="batchDel" class="btn btn-default checkAction"> 批量删除</button>
                                            <div class="btn-group checkAction">
                                                <button type="button" class="btn btn-default">将角色修改为</button>
                                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                                                    <span class="caret"></span>
                                                    <span class="sr-only">将角色修改为</span>
                                                </button>
                                                <ul class="dropdown-menu" role="menu">
                                                    <li>
                                                        <a data-rid="1" href="javascript:;" class="changeRoleAction">
                                                            默认角色
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                                <!-- /.box-header -->
                                <div class="box-body ">

                                    <table class="table table-striped">
                                        <tbody>
                                        <tr>
                                            <th style="width: 10px">
                                                <input name="dataItem" onchange="checkAll(this)" type="checkbox">
                                            </th>
                                            <th style="width: 40px">ID</th>
                                            <th style="width: 20%">登录名</th>
                                            <th style="width: 10%">昵称</th>
                                            <th>标签</th>
                                            <th>会员组</th>
                                            <th style="width: 130px">来源</th>
                                        </tr>

                                        <tr class="jp-actiontr">
                                            <td>
                                                <input class="dataItem" type="checkbox" value="2">
                                            </td>
                                            <td>2</td>
                                            <td>
                                                <strong>
                                                    <a href="/Jpress/admin/user/detail/2">
                                                        333
                                                    </a>

                                                    （已冻结）
                                                </strong>

                                                <div class="jp-actionblock">
                                                    <div class="jp-actionitem" style="display: none;">
                                                        <a href="/Jpress/admin/user/detail/2" style="color: #006505">编辑</a> |
                                                        <a href="/Jpress/admin/user/permissions/2" onclick="draft('2')">权限</a> |
                                                        <a href="javascript:;" onclick="doChangeStatus('2','ok')">激活正常</a>
                                                        |
                                                        <a href="javascript:;" onclick="doChangeStatus('2','registered')" style="color: #a00">未激活</a> |
                                                        <a href="javascript:;" onclick="doDel('2')" style="color: #a00">删除</a>
                                                    </div>
                                                </div>
                                            </td>
                                            <td>333</td>
                                            <td>
                                            </td>
                                            <td>

                                            </td>
                                            <td>
                                                后台创建<br>
                                                2021-01-10 02:39
                                            </td>
                                        </tr>
                                        <tr class="jp-actiontr">
                                            <td>
                                                <input class="dataItem" type="checkbox" value="1">
                                            </td>
                                            <td>1</td>
                                            <td>
                                                <strong>
                                                    <a href="/Jpress/admin/user/detail/1">
                                                        aaa
                                                    </a>


                                                </strong>

                                                <div class="jp-actionblock">
                                                    <div class="jp-actionitem" style="display: none;">
                                                        <a href="/Jpress/admin/user/detail/1" style="color: #006505">编辑</a> |
                                                        <a href="/Jpress/admin/user/permissions/1" onclick="draft('1')">权限</a> |
                                                        <a href="javascript:;" onclick="doChangeStatus('1','registered')" style="color: #a00">未激活</a> |
                                                        <a href="javascript:;" onclick="doChangeStatus('1','locked')" style="color: #a00">冻结</a> |
                                                        <a href="javascript:;" onclick="doDel('1')" style="color: #a00">删除</a>
                                                    </div>
                                                </div>
                                            </td>
                                            <td>aaa</td>
                                            <td>
                                            </td>
                                            <td>

                                            </td>
                                            <td>
                                                网页注册<br>
                                                2020-11-04 18:36
                                            </td>
                                        </tr>

                                        </tbody>
                                    </table>
                                </div>
                                <!-- /.box-body -->
                                <div class="box-footer">
                                    <div class="row">
                                        <div class="col-sm-12">
                                            <ul class="pagination pull-right">
                                                <li class="paginate_button previous disabled">
                                                    <a href="javascript:;">上一页</a>
                                                </li>
                                                <li class="paginate_button active">
                                                    <a href="javascript:;">1</a>
                                                </li>
                                                <li class="paginate_button next disabled">
                                                    <a href="javascript:;">下一页</a>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- /.box -->
                        </div>
                    </div>

                </section>
            </div>
            <!-- ./Form-->

            <!--Footer-->
            <footer class="main-footer">
                <div class="pull-right hidden-xs">
                    version v3.2.5
                </div>
                Copyright &copy; 2016-2020 <a href="http://www.jpress.io" target="_blank">JPress Studio</a>. All rights
                reserved.
            </footer>
            <!-- ./Footer-->

        </div>
            <!-- scripts -->
            <th:block th:fragment="scripts">
                <script src="../../static/components/jquery/jquery.min.js" th:src="@{/components/jquery/jquery.min.js}"></script>
                <script src="../../static/components/jquery/jquery.form.min.js" th:src="@{/components/jquery/jquery.form.min.js}"></script>
                <script src="../../static/components/bootstrap/js/bootstrap.js" th:src="@{/components/bootstrap/js/bootstrap.js}"></script>
                <script src="../../static/components/bootstrap/js/bootstrap-datepicker.min.js" th:src="@{/components/bootstrap/js/bootstrap-datepicker.min.js}"></script>
                <script src="../../static/components/bootstrap/js/bootstrap-datepicker.zh-CN.min.js" th:src="@{/components/bootstrap/js/bootstrap-datepicker.zh-CN.min.js}"></script>
                <script src="../../static/components/moment/moment.min.js" th:src="@{/components/moment/moment.min.js}"></script>
                <script src="../../static/admin/js/zh-cn.js" th:src="@{/admin/js/zh-cn.js}"></script>
                <script src="../../static/components/bootstrap/js/bootstrap-datetimepicker.min.js" th:src="@{/components/bootstrap/js/bootstrap-datetimepicker.min.js}"></script>
                <script src="../../static/components/fastclick/fastclick.js" th:src="@{/components/fastclick/fastclick.js}"></script>
                <script src="../../static/components/layer/layer.js" th:src="@{/components/layer/layer.js}"></script>
                <script src="../../static/components/switchery/switchery.min.js" th:src="@{/components/switchery/switchery.min.js}"></script>
                <script src="../../static/components/toastr/toastr.min.js" th:src="@{/components/toastr/toastr.min.js}"></script>
                <script src="../../static/adminlte/js/adminlte.min.js" th:src="@{/adminlte/js/adminlte.min.js}"></script>
                <script src="../../static/admin/js/admin.js" th:src="@{/admin/js/admin.js}"></script>
                <script src="../../static/commons/commons.js" th:src="@{/commons/commons.js}"></script>
                <script src="../../static/admin/js/csrf.js" th:src="@{/admin/js/csrf.js}"></script>
                <script>
                    var date = getPara("date");
                    if ("today" == date) {
                        $("#group-today").addClass("active");
                    } else if ("yesterday" == date) {
                        $("#group-yesterday").addClass("active");
                    } else if ("7d" == date) {
                        $("#group-7d").addClass("active");
                    } else if ("14d" == date) {
                        $("#group-14d").addClass("active");
                    } else if ("28d" == date) {
                        $("#group-28d").addClass("active");
                    } else {
                        $("#group-today").addClass("active");
                    }
                </script>
            </th:block>
            <!-- ./scripts -->
        </body>
    </html>
